home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / HIRadioButtonGroups.idl < prev    next >
Text File  |  1996-05-01  |  2KB  |  64 lines

  1. /*
  2.      File:        HIRadioButtonGroups.idl
  3.  
  4.      Contains:    Interface for a standard radio button group class
  5.  
  6.      Version:    Technology:    System 8.0
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1995-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16. */
  17.  
  18.  
  19. #ifndef __HIRADIOBUTTONGROUPS_IDL__
  20. #define __HIRADIOBUTTONGROUPS_IDL__
  21.  
  22. #include <HIEmbeddingPanels.idl>
  23. #include <HIRadioButtonGroupTypes.idl>
  24.  
  25.  
  26. interface HIRadioButton;
  27.  
  28. interface HIRadioButtonGroup : HIPanel
  29. {
  30.     OSStatus InitRadioButtonGroup (    in RefLabel identifier,
  31.                                     in HIWindow window, 
  32.                                     in Point anchor,
  33.                                     in SInt16 width,                        // height auto-calculated
  34.                                     in ItemCount numRadioButtons);
  35.     
  36.     ItemCount        GetRadioButtonCount();
  37.     HIRadioButton     GetRadioButton (in HIRadioButtonIndex radioButtonIndex);
  38.     HIRadioButton     AddRadioButton (in HIRadioButtonIndex insertBeforeIndex);
  39.     OSStatus        DeleteRadioButton (in HIRadioButtonIndex indexToDelete);
  40.     
  41.     void SelectRadioButton (in HIRadioButtonIndex radioButtonIndex);
  42.     HIRadioButtonIndex GetSelectedRadioButton ();
  43.     
  44.     implementation {
  45.  
  46.         passthru C_h    =    "#include <HIRadioButtonGroupTypes.h>";
  47.         
  48.         passthru C_xh    =    "#include <HIRadioButtonGroupTypes.h>";
  49.         
  50.         releaseorder:            InitRadioButtonGroup,
  51.                                 GetRadioButtonCount,
  52.                                 GetRadioButton,
  53.                                 AddRadioButton,
  54.                                 DeleteRadioButton,
  55.                                 SelectRadioButton,
  56.                                 GetSelectedRadioButton;
  57.                                 
  58.     };
  59. };
  60.  
  61.  
  62. #endif
  63.  
  64.